<?php 
	if(count($this->list_product) > 0){ $dem = 0;
		foreach($this->list_product as $item){
			$dem++;
		
?>
<div class="box-product<?php if($dem % 3 == 0){echo "2";}?>">
        <div class="product-img"><a href="#"><img src="<?php echo TEMPLATE_URL;?>/public/images/product.jpg" alt="" width="236" height="270" /></a></div>
        <div class="labelnew"></div>
        <div class="product-name"><a href="<?php echo APPLICATION_URL."/".$item['aliasVi']."-sp".$item['id'].".html"?>"><?php echo $item['titleVi']?></a></div>
        <div class="product-price"><span class="price-new"><?php echo number_format ( $item['price'], 0, ',', '.' )?> | </span><span class="price-old">2.200.000 VNĐ</span><span style="padding-right:5px;"><img src="images/eye.png" alt="" width="18" height="12" /></span><span class="view">26</span></div>
        <div class="view-morecat"><span>Xem thêm <a href="#"><strong>Áo khoác nữ</strong></a></span></div>
</div>
	
<?php
	if($dem % 3 == 0){echo "<div class='clearb'></div>";}
		} } ?>	